<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<jsp:useBean id="checkusername" class="database.DbNewUser"
	scope="request" />
<jsp:setProperty name="checkusername" property="*" />

<c:set var="test" value="${checkusername.checkusername()}" scope="request" />	
	
<c:if test="${test}">
	<c:out value="1" />
</c:if>
<c:if test="${!test}">
	<c:out value="0" />
</c:if>
